package com.wlc.oop.demo09;

/**
 * @author 王立朝 wanglichao@champion-credit.com
 * @description 测试
 * @date 2021-07-04 19:57
 */
public class Test {
    public void method01() {
        Dog dog = new Dog();
        Pet pet = new Dog();
        dog.say();
        pet.say();
    }

    public static void main(String[] args) {
        new Test().method01();
    }
}
